#ifndef GV_ENTERPASSWORD_H
#define GV_ENTERPASSWORD_H
#include<QtGui>
#include <QtGui/QWidget>
#include <QtCore/QTextCodec>
#include <QDialog>
#include "ui_enterpwd.h"
class QTimer;
class GV_EnterPWDDialog:public QDialog, public Ui::EnterPWDDialog
{
    Q_OBJECT
signals:
    void currentTime();
public:
    GV_EnterPWDDialog(QWidget *parent = 0);

    QTimer *timer;
private:
    int currentNum;
    int totalNum;
    void showNumber();
    int newpassword;    
private slots:
    void GV_chTime();
    void cancel();
    void accept();

    void key0();
    void key1();
    void key2();
    void key3();
    void key4();
    void key5();
    void key6();
    void key7();
    void key8();
    void key9();
    void keyclear();
    void keybackspace();

    void reloadtext();
};
#endif // GV_ENTERPASSWORD_H
